package cn.MaySoon.zhuansheng;

public class zhuansheng {
    public int xiuwei;
    public int level;
    public String PlayerName;
    public zhuansheng (int level,int xiuwei,String PlayerName){
        this.level =level;
        this.xiuwei = xiuwei;
        this.PlayerName=PlayerName;
    }
    public int getLevel(){
        return level;
    }
    public int getXiuwei(){
        return xiuwei;
    }
    public String getPlayerName(){
        return PlayerName;
    }
    public void setXiuwei(int xiuwei){
        this.xiuwei = xiuwei;
        handle.savePlayerData(getPlayerName(),getLevel(),getXiuwei());
    }
    public void setLevel(int level){
        this.level= level;
        handle.savePlayerData(getPlayerName(),getLevel(),getXiuwei());
    }

    public void setduihuanXiuwei(int xiuwei){
        this.xiuwei = xiuwei;

    }
}
